<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width"/>
<meta name="viewport" content="initial-scale=1.0,user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link type="text/css" href="css/css.css" rel="stylesheet" />
<link type="text/css" href="css/paih.css" rel="stylesheet" />
<title>找人砍价</title>
</head>
<body>
	<div class="main">
    	<div><img src="img/nav.png" width="100%"/></div>

    	<a href="guize.html"><div class="gz">看一看好友帮砍（看谁最给力）</div></a>
        <!--<div class="push-down2">
        	<div class="pushleft"><input value="找人砍价" type="button" class="push"></div>
        	<div class="pushright"><input value="我要参加" type="button" class="push-green"></div>
        </div>-->
        <div style="clear:both;"></div>
        <!-- tab标签代码begin -->
        <div class="tab1" id="tab1">
            <div class="menu">
                <ul>
                    <li id="one1" onclick="setTab('one',1)">1</li>
                    <li id="one2" onclick="setTab('one',2)">2</li>
                    <li id="one3" onclick="setTab('one',3)">3</li>
                    <li id="one4" onclick="setTab('one',4)">4</li>
                </ul>
            </div>
            <div class="menudiv">
                <div id="con_one_1">
                <div class="news_list_b_kj">
                        <ul>
                          <li><span><strong>-88.00</strong>元已砍下</span>宋xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>赵xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>李xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>王小xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>孙xx</li>
                        </ul>
                    </div>
                </div>
                <div id="con_one_2" style="display:none;"><div class="news_list_b_kj">
                        <ul>
                          <li><span><strong>-88.00</strong>元已砍下</span>李xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>王小xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>孙xx</li>
                        </ul>
                    </div></div>
                <div id="con_one_3" style="display:none;"><div class="news_list_b_kj">
                        <ul>
                          <li><span><strong>-88.00</strong>元已砍下</span>王小xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>孙xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>宋xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>赵xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>李xx</li>
                        </ul>
                    </div></div>
                <div id="con_one_4" style="display:none;"><div class="news_list_b_kj">
                        <ul>
                          <li><span><strong>-88.00</strong>元已砍下</span>宋xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>赵xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>李xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>王小xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>孙xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>宋xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>赵xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>李xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>王小xx</li>
                          <li><span><strong>-88.00</strong>元已砍下</span>孙xx</li>
                        </ul>
                    </div></div>
            </div>
        </div>
		<!-- tab标签代码end -->
    </div>

    
    <div style="clear:both;"></div>
    <div class="msg">技术支持:青岛微信网</div>
    <div id="tab" style="margin-left:460px;margin-top:20px">
<script>
function setTab(name,cursel){
	cursel_0=cursel;
	for(var i=1; i<=links_len; i++){
		var menu = document.getElementById(name+i);
		var menudiv = document.getElementById("con_"+name+"_"+i);
		if(i==cursel){
			menu.className="off";
			menudiv.style.display="block";
		}
		else{
			menu.className="";
			menudiv.style.display="none";
		}
	}
}
function Next(){                                                        
	cursel_0++;
	if (cursel_0>links_len)cursel_0=1
	setTab(name_0,cursel_0);
} 
var name_0='one';
var cursel_0=1;
var ScrollTime=3000;//循环周期，可任意更改（毫秒）
var links_len,iIntervalId;
onload=function(){
	var links = document.getElementById("tab1").getElementsByTagName('li')
	links_len=links.length;
	for(var i=0; i<links_len; i++){
		links[i].onmouseover=function(){
			clearInterval(iIntervalId);
			this.onmouseout=function(){
				iIntervalId = setInterval(Next,ScrollTime);;
			}
		}
	}
	document.getElementById("con_"+name_0+"_"+links_len).parentNode.onmouseover=function(){
		clearInterval(iIntervalId);
		this.onmouseout=function(){
			iIntervalId = setInterval(Next,ScrollTime);;
		}
	}
	setTab(name_0,cursel_0);
	iIntervalId = setInterval(Next,ScrollTime);
}
</script>    
</body>
</html>
